package com.hxy.Test;

import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
//        System.out.println("请输入第一个整数");
//        int number1 = sc.nextInt();
//        System.out.println("请输入第二个整数");
//        int number2 = sc.nextInt();
//        System.out.println("是否相同:" + ((number1 == number2)? "相同" : "不同"));
        int height1 = 150;
        int height2 = 210;
        int height3 = 165;
        System.out.println("三个和尚身高最高的是:" + (height1 > height2 ? "大和尚" : (height2 > height3 ? "二和尚" : "三和尚")));
    }
}
